package com.shouxun.microclassroom;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.Button;
import android.widget.EditText;

public class SuggestionsActivity extends Activity {
	Button submit,cz;
	EditText msg;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);  
		setContentView(R.layout.suggestions);
		 ExitApplication.getInstance().addActivity(this);
		 msg=(EditText) findViewById(R.id.message);
		 cz=(Button) findViewById(R.id.login);
		 submit=(Button) findViewById(R.id.register);
		 cz.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				msg.setText(null);
			}
		});
		 submit.setOnClickListener(new OnClickListener() {
				
				@Override
				public void onClick(View v) {
					finish();
				}
			});
	}

}
